
class jp_rule_a:
  def init(self):
    pass

  def evaluate(self, global_context, request_context):
    return request_context.getIntRequestParameter("score_a") > 500

  def execute(self, global_context, request_context, facts):
    facts.setRefuse(request_context.getIntRequestParameter("score_a") > 500)
